/**
 * Project  : Looker
 * Package  : net.freestu.looker.monitor
 * File     : Extractor.java
 * Author   : solosky < solosky772@qq.com >
 * Date     : Aug 23, 2009
 * Modified : Aug 23, 2009
 * License  : Apache License 2.0 
 */
package net.freestu.looker.monitor;

import org.apache.log4j.Logger;

import net.freestu.looker.common.NewsEntity;

/**
 * 提取正文中的附件 
 */
public abstract class AbstractExtractor
{
	/**
	 * 需提取附件的新闻
	 */
	protected NewsEntity newsEntity;
	
	/**
	 * 日志记录
	 */
	protected Logger logger = Logger.getLogger(AbstractExtractor.class);
	
	/**
	 * 构造函数
	 */
	public AbstractExtractor(NewsEntity newsEntity)
	{
		this.newsEntity = newsEntity;
	}
	
	/**
	 * 提取新闻附件
	 */
	public abstract void extract();
}
